package com.kaili.basic.pojo.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 意见建议实体
 * Created by linjian on 19-7-31.
 */
@Data
@TableName("mdm_opinion_register")
public class BaseOpinion {

    @TableId(value = "opinion_id", type = IdType.AUTO)
    @ApiModelProperty("id")
    private Integer opinionId;

    @TableField("account_id")
    @ApiModelProperty("账户")
    private String accountId;

    @TableField("company_id")
    @ApiModelProperty("公司")
    private String companyId;

    @TableField("opinion_title")
    @ApiModelProperty("标题")
    private String opinionTitle;

    @TableField("user_id")
    @ApiModelProperty("用户")
    private String userId;

    @TableField("menu_id")
    @ApiModelProperty("功能界面")
    private String menuId;

    @TableField("description")
    @ApiModelProperty("描述")
    private String description;

    @TableField("enclosure")
    @ApiModelProperty("附件")
    private String enclosure;

    @TableField("enclosure_title")
    @ApiModelProperty("附件标题")
    private String enclosureTitle;

    @TableField("emails")
    @ApiModelProperty("邮件抄送")
    private String emails;

    @TableField("created_time")
    @ApiModelProperty("创建时间")
    private Date createdTime;

    @TableField("查看状态")
    private String rdStatus;

    @TableField("查看时间")
    private String rdTime;

    @TableField("所属产品")
    private String productId;
}
